
compiler_plugin "FS.Plugins.Ext.Bool"
{
    fullname        =   "FS.Plugins.Ext.Bool";
    desc            =   "Allows representation of boolean operators such as true/false in other formats such as on/off/yes/no";
    examples        =   [ "var enabled = yes", "canVote = no", "if canUpdate == Yes then doSomething()" ];  
    type            =   "token";
    precedence      =   1;  
    tokens          =   [  
                            ["yes" , "true" ],  
                            ["Yes" , "true" ],  
                            ["on"  , "true" ],  
                            ["On"  , "true" ],
                            ["no"  , "false"],  
                            ["No"  , "false"],  
                            ["off" , "false"],  
                            ["Off" , "false"]
                        ];
}